<?php
session_start();
$_SESSION["login"] = "";
unset($_SESSION["login"]);

include_once "top.php";
set_include_path(get_include_path() . PATH_SEPARATOR . 'admin');

?>
	<div style="padding-top:10px;">
	<center>
		<table border="0">
		<tr>
			<td valign="top">
			<center>
			<strong><u>Connexion</u></strong><br /><br />
			<form name="formLogin" action="login.php" method="post">
				<table border="0">
					<tr>
						<td>Identifiant</td>
						<td><input type="login" name="login" /></td>
					</tr>
					<tr>
						<td>Mot de passe</td>
						<td><input type="password" name="password" /></td>
					</tr>
					<tr>
					<td colspan="2"><center><input type="submit" value="Connexion" /></center></td>
					</tr>
					<?php if(isset($_GET["result"]) && ($_GET["result"] == "ko")) { ?>
					<tr>
					<td colspan="2"><br /><center><strong><font style="color:red;">Identifiants incorrects.</font></strong></center></td>
					</tr>
					<?php } ?>
				</table>
			</form>
			</center>
			</td>
		</tr>
		</table>
	</center>
	</div>
<?php include_once "bottom.php"; ?>